//
//  HBDiscoverCell.m
//  HeartBeat
//
//  Created by karong on 2023/8/23.
//

#import "HBDiscoverCell.h"
#import "HBChannelModel.h"

@interface HBDiscoverCell ()
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (weak, nonatomic) IBOutlet UILabel *channelLabel;
@end

@implementation HBDiscoverCell
- (void)setDataWithObject:(HBChannelModel *)object select:(BOOL)select {
    self.channelLabel.text = object.title;
    self.channelLabel.textColor = select ? UIColor.font_black_1A1A1A : [UIColor colorFromHexRGB:@"474747"];
    self.channelLabel.font = [UIFont systemFontOfSize:select ? 18 : 16 weight:(UIFontWeightMedium)];
    self.lineView.hidden = !select;
}
@end
